package com.zbkj.crmeb.store.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class RefundGoodsRequest implements Serializable {

    @ApiModelProperty(value = "子订单id")
    @NotNull(message = "子订单id不能为空")
    private Integer infoId;

    @ApiModelProperty(value = "退货收货人")
    @NotBlank(message = "退货收货人不能为空")
    private String returnConsignee;

    @ApiModelProperty(value = "退货收货手机号")
    @NotBlank(message = "退货收货手机号不能为空")
    private String returnPhone;

    @ApiModelProperty(value = "退货详细地址")
    @NotBlank(message = "退货详细地址不能为空")
    private String returnAddress;

}